package com.qfedu.service;

import com.qfedu.entity.Question;
import com.qfedu.entity.QuestionCountAndeType;

import java.util.List;

public interface questionService {
    int addNote(Question question);

    List<Question> getAllQuestion();

    Question getQuestionById(int id);

    int updateQuestion(Question question);

    int deleteQuestionById(int id);

    List<Question> getQtype();

    List<QuestionCountAndeType>getAllTypeCountAndType();
}
